Not declared variable althoug it is a function?

Hi,

 

I've got a warning, that I don't have declared a variable, although this "variable" is a function! What goes wrong?


tobi_mehrl - Wed Apr 29 08:32:26 EDT 2015

Re: Not declared variable althoug it is a function?
Mathias Mamsch - Wed Apr 29 08:47:56 EDT 2015

What is definitely wrong is your problem description. It does not contain any information that would hint to the cause of the problem. Please give us a code example or something to work with.

Usually there are no Warnings about undeclared variables in DXL! There are only DXL errors. Please post the complete error message and the relevant lines of code, to which the error message is referring. Regards, mathias

Re: Not declared variable althoug it is a function?
tobi_mehrl - Wed Apr 29 08:51:42 EDT 2015

Ok. I have attached a dxl-file.

 

The problem causes in the last two line of codes: "Multiple Markes at this Line: Nichtdeklarierte Variable [insert function name here]"


Attachments

dxlexportnew.dxl

Re: Not declared variable althoug it is a function?
Mike.Scharnow - Wed Apr 29 09:28:22 EDT 2015

tobi_mehrl - Wed Apr 29 08:51:42 EDT 2015

Ok. I have attached a dxl-file.

 

The problem causes in the last two line of codes: "Multiple Markes at this Line: Nichtdeklarierte Variable [insert function name here]"

I'm not sure, but if by "last two lines of code" you mean the call of iterateExportModuleToExcel(f), I notice that this function is indeed not defined, in line 4949 this function is commented out...

Re: Not declared variable althoug it is a function?
woodpryan - Wed Apr 29 18:54:54 EDT 2015

tobi_mehrl - Wed Apr 29 08:51:42 EDT 2015

Ok. I have attached a dxl-file.

 

The problem causes in the last two line of codes: "Multiple Markes at this Line: Nichtdeklarierte Variable [insert function name here]"

The commented last line is indeed a function, but it is commented out. Uncomment the function to call it.